Equality Operator

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Determines if two triples are equal. Two triples are equal if the all three elements compare equal using IComparable<T>.Equals or object.Equals.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public static bool operator ==(
	Triple<TFirst, TSecond, TThird> pair1,
	Triple<TFirst, TSecond, TThird> pair2
)
Visual Basic (Declaration)
Public Shared Operator = ( _
	pair1 As Triple(Of TFirst, TSecond, TThird), _
	pair2 As Triple(Of TFirst, TSecond, TThird) _
) As Boolean
Visual C++
public:
static bool operator == (
	Triple<TFirst, TSecond, TThird> pair1, 
	Triple<TFirst, TSecond, TThird> pair2
)

Parameters

pair1
Triple<(Of <TFirst, TSecond, TThird>)>
First triple to compare.
pair2
Triple<(Of <TFirst, TSecond, TThird>)>
Second triple to compare.

Return Value

True if the triples are equal. False if the triples are not equal.

See Also